Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/keyboard avoiding view #44652

Closed

Conversation

Gregoirevda
Copy link
Contributor

@Gregoirevda Gregoirevda commented May 23, 2024

Summary:

Fixes #36287
KeyboardAvoidingView will not work when mounted on a view which already has a visible keyboard

Test Plan

Open Keyboard, mount KeyboardAvoidingView and verify it's not centered.

Changelog:

[General] [Fixed] - KeyboardAvoidingView applied on mount when keyboard is shown

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels May 23, 2024
@facebook-github-bot
Copy link
Contributor

@sammy-SC has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@sammy-SC
Copy link
Contributor

Hello @Gregoirevda

the fix looks good, thanks.

Do you have a code example where I could see the bug before and verify the fixed state?

@sammy-SC
Copy link
Contributor

@Gregoirevda CI jobs are failing. Would you mind resolving those?

@Gregoirevda
Copy link
Contributor Author

Gregoirevda commented Jun 10, 2024

@sammy-SC I've made a snack which shows the issue here
Also fixed CI

@react-native-bot
Copy link
Collaborator

This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@react-native-bot react-native-bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 8, 2024
@react-native-bot
Copy link
Collaborator

This PR was closed because it has been stalled for 7 days with no activity.

@react-native-bot react-native-bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keyboard avoiding view doesn't attempt to initialize correctly when created while a keyboard is already open
4 participants